﻿using Model.BusinessModel.OutPut;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.BusinessModel.MatchFormula
{
    /// <summary>
    /// 匹配公式数据源输出模型
    /// </summary>
    public class MatchFormulaDataSourceOutPut : SelectOutPut
    {
        public int ConfigId { get; set; }

        /// <summary>
        /// 等式结果显示控件格式
        /// </summary>
        public int ShowControl { get; set; }

        /// <summary>
        /// 等式结果显示控件格式名称
        /// </summary>
        public string ShowControlName { get; set; } = string.Empty;

        /// <summary>
        /// 等式结果显示控件数据源
        /// </summary>
        public int ShowControlDataSource { get; set; }

        /// <summary>
        /// 等式结果显示控件数据源名称
        /// </summary>
        public string ShowControlDataSourceName { get; set; } = string.Empty;

        /// <summary>
        /// 条件等式下拉值
        /// </summary>
        public List<SelectOutPut> ConditionalEquationList { get; set; } = new List<SelectOutPut>();

        /// <summary>
        /// 等式结果下拉框值(单选下拉框)
        /// </summary>
        public List<SelectOutPut> ConditionalEquationValueList { get; set; } = new List<SelectOutPut>();
    }
}
